package com.example.springbootdemo.service;

import com.example.springbootdemo.entity.Product;

import java.net.UnknownHostException;

/**
 * @ClassName: ProductService
 * @Description:
 * @Author: TXW
 * @Date: 2025/1/10
 */

public interface ProductService {
    Product getProduct(Integer id);

    String disProduct(Integer id) throws UnknownHostException;

    String initProduct(Integer id);

    int update(Product product);
}
